package com.pine.manager.config;

import com.fasterxml.jackson.databind.ObjectMapper;
import com.pine.common.util.json.JsonUtil;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * json配置
 *
 * @author pine manage
 * @since 2024-10-30
 */
@Configuration
public class JsonConfig {

    @Bean
    public ObjectMapper objectMapper() {
        return JsonUtil.getObjectMapper();
    }
}
